package soen343.domain;


public class NumericQuestion extends Question {
	private int _upperBoundAnswer;
	private int _lowerBoundAnswer;

	public NumericQuestion(String name) {
		super(name);
	}
	
	public String toHTML() {
		String html = "<div class=\"questionText\">" + getText() + "</div>\n" +
			"<div class=\"questionInput\"><input type=\"text\" id=\"" + getName() + "\" /></div>";
		return html;
	}

	public void setBounds(int upperBound, int lowerBound) {
		_upperBoundAnswer = upperBound;
		_lowerBoundAnswer = lowerBound;
	}
}
